package com.ashley.day_0405;

public class SwitchCaseTest2 {

	public static void main(String[] args) {
		int a = 3;
		int x = 100;
		switch (a) {
		case 1:
			System.out.println(x += 5);
			break;
		case 2:
			System.out.println(x += 10);
			break;
		case 3:
			System.out.println(x += 16);
			break;
		default:
			System.out.println(x += 34);
			break;
		}

	}

}
